﻿using System.ComponentModel.DataAnnotations;

namespace STF.Blog.WebApp.Areas.ForumManage.Models.Seos
{
    public class SeosUpdateViewModel
    {
        public int Id { get; set; }

        [Required(ErrorMessage = "{0}不能为空")]
        [Display(Name = "标题")]
        public string Title { get; set; }

        [Required(ErrorMessage = "{0}不能为空")]
        [Display(Name = "关键词")]
        public string KeyWord { get; set; }

        [Required(ErrorMessage = "{0}不能为空")]
        [Display(Name = "描述")]
        public string Description { get; set; }

        [Required(ErrorMessage = "{0}不能为空")]
        [Display(Name = "优化页面")]
        public int WebMenuId { get; set; }
    }
}
